<link rel="stylesheet" type="text/css" href="__PUBLIC__/res/css/jquery.fullPage.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/res/css/resource.css"/>
<div id="fullpage">
    <div class="section active" id="section0">
		<div class="page_title2 news_about">
            <p>{$catname}</p>
            <p style="width:100px;">{$catdir}</p>
        </div>

    	<div class="news_list">
    		<div class="news_div">
	    		<volist name="list" id="r">
                    <div class="news_item clearfix">
                        <div class="news_pic"><img src="{$r.thumb}"></div>
                        <div class="news_info">
                            <div class="news_info_title clearfix">
                                <a href="{$r.url}" target="_blank">{$r.title}</a>
                                <span class="date">[{$r.createtime|toDate=###,'Y-m-d'}]</span>
                            </div>
                            <div class="news_info_desc clearfix">{$r.description}</div>
                            <a href="{$r.url}" target="_blank"><img src="../Public/images/yt/more.jpg" style="position: static; width:auto; height:auto; "></a>
                        </div>
                    </div>
				</volist> 



				<div id="pages" class="page">{$pages}</div>
			</div>
    	</div>
		
        <img src="__PUBLIC__/res/images/bg/news.jpg">
    </div>
</div>
<script type="text/javascript" src="__PUBLIC__/res/js/jquery.fullPage.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('#fullpage').fullpage({
            //sectionsColor: ['#f2f2f2', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'],
            'navigation': true,
            afterLoad: function(anchorLink, index){
                if(index == 0){
                    $('#content1').addClass('active');
                }
            },
            onLeave: function (index, nexIndex, direction) {
                if (index == 1) {
                    $('#linkShow').hide();
                }
                if (nexIndex == 1) {
                    $('#linkShow').show();
                }
            }
        });
        $('#navMenu li:eq(2)').addClass('link_select');
    });
</script>









